Adwaita: Remove unused popover check/radio styling
authornana-4 <hnmaigo@gmail.com>
Thu, 7 Nov 2019 13:50:09 +0000 (22:50 +0900)
committernana-4 <hnmaigo@gmail.com>
Mon, 2 Dec 2019 11:48:10 +0000 (20:48 +0900)
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 1f53ab97523b3a550791ceeab0da0c89d6f91176..eb8702ba18ad86dee333a4ceaa6721f5154e4127 100644 (file)
@@ -2867,19 +2867,6 @@ radio {
 
   &:only-child { margin: 0; }
 
-  popover & { // when in a popover add more space between the label and the check, reset the other side margin.
-              // See https://bugzilla.gnome.org/show_bug.cgi?id=779570 for details.
-    &.left:dir(rtl) {
-      margin-left: 0;
-      margin-right: 12px;
-    }
-
-    &.right:dir(ltr) {
-      margin-left: 12px;
-      margin-right: 0;
-    }
-  }
-
   min-height: 14px;
   min-width: 14px;
   border: 1px solid;
index 93623a6d20d39ce11204410328a8b8e6e5a9f42b..f83310954d1653e915715964d857f2c2f510273d 100644 (file)
@@ -1092,10 +1092,6 @@ check, radio { margin: 0 4px; min-height: 14px; min-width: 14px; border: 1px sol
 
 check:only-child, radio:only-child { margin: 0; }
 
-popover check.left:dir(rtl), popover radio.left:dir(rtl) { margin-left: 0; margin-right: 12px; }
-
-popover check.right:dir(ltr), popover radio.right:dir(ltr) { margin-left: 12px; margin-right: 0; }
-
 check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, #424242 20%, #353535 90%); border-color: #070707; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #eeeeec; }
 
 check:hover, radio:hover { background-image: linear-gradient(to bottom, #4c4c4c 10%, #3f3f3f 90%); }
index 93c38f1ef4e204921da67f4d39efa4c10e19646b..dd46ee158ab73b964179f64d875fcb780e351ae2 100644 (file)
@@ -1106,10 +1106,6 @@ check, radio { margin: 0 4px; min-height: 14px; min-width: 14px; border: 1px sol
 
 check:only-child, radio:only-child { margin: 0; }
 
-popover check.left:dir(rtl), popover radio.left:dir(rtl) { margin-left: 0; margin-right: 12px; }
-
-popover check.right:dir(ltr), popover radio.right:dir(ltr) { margin-left: 12px; margin-right: 0; }
-
 check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, white 20%, white 90%); border-color: #bfb8b1; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #2e3436; }
 
 check:hover, radio:hover { background-image: image(#f2f2f2); }